﻿<html>
<head>
	<title></title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<meta http-equiv="x-ua-compatible" content="IE=edge" />
	<style>
		@-ms-viewport { width:device-width; }
		@media only screen and (min-device-width:800px) { html { overflow:hidden; } }
		html { height:100%; }
		body { height:100%; overflow:hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#000000; }
	</style>
</head>
<body>

<script src="tour.js"></script>

<div id="pano" style="width:100%;height:100%;">
	<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;text-align:center;"><td>ERROR:<br><br>Javascript not activated<br><br></td></tr></table></noscript>
	<script>

		function GetQueryString(name)
		{
		     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
		     var r = window.location.search.substr(1).match(reg);
		     if(r!=null)return  unescape(r[2]); return null;
		}
		embedpano({swf:"tour.swf", xml:"http://"+location.host+"/tour/tour_video.xml.php?vid="+GetQueryString('vid'), target:"pano", html5:"auto", mobilescale:1.0, passQueryParameters:true});
	</script>
</div>
<script type="text/javascript">
	/**
	 * 获取用户点击播放进度条的时间
	 * 以秒为单位
	**/
	function get_time(cur_time,total_time,seekpos){
			console.log("拖动之前："+parseInt(cur_time));
			console.log("拖动之后："+parseInt(total_time*seekpos));
	}
	
	function update_title(title){
		document.title = title;
	}
</script>
</body>
</html>